package com.project.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.project.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("health_article")
public class HealthArticle extends BaseEntity {
    private String title;
    private String content;
    private String category; // 分类：饮食、运动、心理等
    private String coverImage;
    private Long authorId;
    private Integer status; // 0-草稿 1-已发布
    private Integer viewCount;
    private Integer likeCount;
} 